home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / util / wb / EPAGrWb.lha / EPAGrWb / Install < prev    next >
Text File  |  1996-11-24  |  6KB  |  162 lines

  1. ; $VER: EPA Greek Workbench Install script 1.0 (23.11.1996) Copyright 1996, Elias Papanikolaou (EPA)
  2.  
  3. (set @app-name "EPA Greek Workbench")
  4. (set @default-dest "")
  5.  
  6. (welcome
  7.     "Welcome to the installation of EPA Greek Workbench. "
  8.     "This package is a set of files that will allow you to select the "
  9.     "Greek language as the default language of your Workbench. "
  10.     "You will be able to do that through the standard `Locale' preferences "
  11.     "program that can be found in your `SYS:Preferences' drawer. See the "
  12.     "accompaning guide for more."
  13. )
  14.  
  15. (set #localedir (askdir
  16.                     (prompt "Where do you keep your locale files ?")
  17.                     (help
  18.                         "The locale files are files that make possible the "
  19.                         "localization of your system. They contain information "
  20.                         "about your country, language, etc. and also "
  21.                         "translations of system and non-system messages "
  22.                         "in your native language.\n\n"
  23.                         "Usually the assign LOCALE:  points to the place that "
  24.                         "locale files reside. In that drawer it is assumed "
  25.                         "that the drawers `Catalogs', `Languages', "
  26.                         "`Countries' and `Help' exist."
  27.                     )
  28.                     (default "LOCALE:")
  29.                 )
  30. )
  31.  
  32. (set #keymapdir (askdir
  33.                     (prompt "Where do you keep your keymaps ?")
  34.                     (help
  35.                         "Keymaps are files that contain information about the "
  36.                         "layout of your keyboard, i.e. which character should "
  37.                         "appear when a certain key is pressed.\n\n"
  38.                         "Usually KEYMAPS: points to the place that "
  39.                         "keymap files reside.\n\n"
  40.                         "Two keymap files that will allow you to write both "
  41.                         "Latin and Greek characters at any time, will be "
  42.                         "copied there. You will later need to select these "
  43.                         "keymaps from the `Input' preferences program.\n"
  44.                         "(Also see `Installation' in the accompaning guide)"
  45.                     )
  46.                     (default "KEYMAPS:")
  47.                  )
  48. )
  49.  
  50. (set #fontdir (askdir
  51.                 (prompt "Where do you want the Latin-Greek fonts to be copied ?")
  52.                 (help
  53.                     "These are fonts that contain the normal Latin characters "
  54.                     "but also the Greek characters. They are needed to be "
  55.                     "able to see any Greek text correctly. See the guide for "
  56.                     "more information on the fonts.\n\n"
  57.                     "Usually FONTS:  is the place that most of the font "
  58.                     "files reside. Especially the fonts that are often "
  59.                     "used by the system. And the Latin-Greek fonts "
  60.                     "supplied with \"EPA Greek Workbench\" are to be "
  61.                     "considered system fonts as they need to be used as "
  62.                     "default Screen, System, and Icon fonts.\n\n"
  63.                     "You will later need to select these fonts as "
  64.                     "defaults from the `Font' preferences program.\n"
  65.                     "(Also see `Installation' in the accompaning guide)"
  66.                 )
  67.                 (default "FONTS:")
  68.                )
  69. )
  70.  
  71. (set #bindir (askdir
  72.                 (prompt "Where should the keymap exchange program `SetKeymap' be copied?")
  73.                 (help
  74.                     "This is an Amiga binary. It will help you change the "
  75.                     "active keymap on the fly, so that you will be able to "
  76.                     "write Latin or Greek characters at any time.\n\n"
  77.                     "You should copy this at someplace you keep your "
  78.                     "executables. C: or SYS:Bin (if you have such a drawer) "
  79.                     "are good choices."
  80.                 )
  81.                 (default "C:")
  82.              )
  83. )
  84.  
  85. (set #helpdir (askdir
  86.                     (prompt "Where do you want the EPA_Greek_Workbench.guide copied ?")
  87.                     (help
  88.                         "I suggest you save the guide some place. You never "
  89.                         "know when it will come in handy."
  90.                     )
  91.                     (default "HELP:")
  92.               )
  93. )
  94.  
  95. (if (= @user-level 2)
  96.   (if (askbool
  97.         (prompt "Copy the locale files to " #localedir "?")
  98.         (help "I think the question is quite straightforward.")
  99.       )
  100.     (copyfiles
  101.         (source "locale/")
  102.         (dest #localedir)
  103.         (all)
  104.     )
  105.   )
  106. )
  107.  
  108. (if (= @user-level 2)
  109.   (if (askbool
  110.         (prompt "Copy the keymaps to " #keymapdir "?")
  111.         (help "I think the question is quite straightforward.")
  112.       )
  113.     (copyfiles
  114.         (source "devs/keymaps/")
  115.         (dest #keymapdir)
  116.         (all)
  117.     )
  118.   )
  119. )
  120.  
  121. (if (= @user-level 2)
  122.   (if (askbool
  123.         (prompt "Copy the fonts to " #fontdir "?")
  124.         (help "I think the question is quite straightforward.")
  125.       )
  126.     (copyfiles
  127.         (source "fonts/")
  128.         (dest #fontdir)
  129.         (all)
  130.     )
  131.   )
  132. )
  133.  
  134. (if (= @user-level 2)
  135.   (if (askbool
  136.         (prompt "Copy the SetKeymap program to " #bindir "?")
  137.         (help "I think the question is quite straightforward.")
  138.       )
  139.     (copyfiles
  140.         (source "bin/SetKeymap")
  141.         (dest #bindir)
  142.     )
  143.   )
  144. )
  145.  
  146. (if (= @user-level 2)
  147.   (if (askbool
  148.         (prompt "Copy the EPA_Greek_Workbench.guide to " #helpdir "?")
  149.         (help "I think the question is quite straightforward.")
  150.       )
  151.     ((copyfiles
  152.         (source "EPA_Greek_Workbench.guide")
  153.         (dest #helpdir)
  154.     )
  155.     (copyfiles
  156.         (source "EPA_Greek_Workbench.guide.info")
  157.         (dest #helpdir)
  158.     ))
  159.   )
  160. )
  161.  
  162.